<?php
// $Id: main.php 182 2012-02-27 06:19:17Z tomqin@gmail.com $

defined('IN_ADMIN') or exit('Access Denied!');

class Main_Controller extends AdminController{

	function onIndex(){
		echo '<!doctype html>';
		echo '<html><head>';
		echo '<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">';
		echo '</head><body>';
		echo '<a href="' .Base::adminUrl('store', 'index'). '">餐厅管理</a><br />';
		echo '<a href="' .Base::adminUrl('util', 'nonedelivery'). '">未标点数据</a>';

		echo '</body></html>';
	}

	function __destruct(){
		echo '<hr /><pre style="font-color:#ccc">';
		print_r($admin = new AdminUser);
		echo '</pre>';
	}
}
?>